package a1;

/**
 * Title: Main class for CSIS 235 Assignment #1
 * Description: CS 235 Assignment #1
 *    This class is used to represent a group of cards.
 * 
 * @author 
 * @email @my.uwrf.edu
 * @date 
 */

public class Hand {
	private final int DECK_SIZE = 52;
	private PlayingCard[] cards;
	private int numberOfCards;
	
	public Hand(){
		cards = new PlayingCard[ DECK_SIZE ];
	}
	
	public void addCard(PlayingCard c){
		// This is not the way you want to do the assignment - it is just an example
		cards[ x ] = c;
	}
	
	public PlayingCard removeCard( ){
		// This is not the way you want to do the assignment - it is just an example
		PlayingCard cardtoreturn = cards[ x ];
		cards[ x ] = null;
		return cardtoreturn;
	}
	
	public int size(){
		return numberOfCards;
	}

	public String toString(){
		String result = "\n  ";
		for (int i=0; i<numberOfCards; i++)
			result = result + cards[i];
		return result;
	}
}